<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<div class="down-load-all">
    <div class="loading-progress loading-progress-active">
        <div class="loading-progress-bar">
            <span class="loading-progress-text">数据分析中，请稍候...(<em>0%</em>)</span>
        </div>
    </div>
</div>
<div class="content">
    <div class="toolbar">
        <div class="fR iconLink" id="menu_tab">
            <a href="#" id="a_heat" data-type="heatmap"> <i class="icon_heat"></i>热点图 </a>
            <span class="line">&nbsp;</span> 
            <a href="#" id="a_route" data-type="routemap"> <i class="icon_route"></i>轨迹图 </a>
            <span class="line">&nbsp;</span>
            <a href="#" id="a_focus" data-type="focusmap"> <i class="icon_focus"></i>焦点图 </a>
            <span class="line">&nbsp;</span>
            <a href="#" id="a_grid" data-type="gridmap"> <i class="icon_grid"></i>网格图 </a>
            <span class="line">&nbsp;</span>
            <a href="#" id="a_aoi" data-type="interestarea"> <i class="icon_aoi"></i>兴趣区</a>
            <span class="line">&nbsp;</span>
            <a href="#" id="a_statistic" data-type="statistic"> <i class="icon_statistic"></i>统计表 </a>
        </div>
        <h1><s:property value="scheme.schemeName" /></h1>
<%--        <s:if test="theSource != null && theSource != '' ">--%>
<%--            <a href="analysis_index.action?theSource=<s:property value='theSource' />">返回</a>--%>
<%--        </s:if>--%>
<%--        <s:else>--%>
<%--            <a href="analysis_index.action">返回</a>--%>
<%--        </s:else>--%>
        <input type="hidden" name="analysisType" id="analysisType" value="heatmap" />
        <input type="hidden" name="schemeWidth" id="schemeWidth" value="<s:property value='scheme.width' />" />
        <input type="hidden" name="schemeHeight" id="schemeHeight" value="<s:property value='scheme.height' />" />
        <input type="hidden" name="schemeQuestions" id="schemeQuestions" value="<s:property value='@com.rd.sys.common.utils.JacksonMapper@bean2Json(scheme.questions)' />" />
        <input type="hidden" name="schemeAoiGraphs" id="schemeAoiGraphs" value="<s:property value='@com.rd.sys.common.utils.JacksonMapper@bean2Json(aoiGraphsList)' />" />
    </div>
    <div class="columns assessment fixedH" id="analysis-layout">
        <div id="analysisContainer"></div>
    </div>
</div>